package daobeauty.test.dao;

import daobeauty.test.domain.D1;


/**
 * Created 12.09.2008
 * @author M. Serhat Cinar
 *
 */
public interface D1FindExistsDao{
	// CRUD
	public void saveOrUpdate(D1 d1);
	public void save(D1 d1);
	public void delete(D1 d1);
	public void update(D1 d1);
	
	public boolean findExistsByNameAndSubject(String name, String subject);
	public boolean findExistsByName(String name);
	public boolean findExistsByNameILike(String name);
	public boolean findExistsByNameILikeAndSubjectIsNull(String name);
	public boolean findExistsByFirstAndLastName(String name);
	public boolean findExistsByNameIsNotNull();
	public Boolean findExistsBySubjectIsNotNull();
}
